Abnormal events
Function Introduction
Abnormal ground lock event
explanation
- 1. This event supports power-off retransmission
- 2. When the event response interval is exceeded, the event will be retransmitted
Request message style
{
"operator": "AbnormalEvent",
"sessionId": "SID:1234567890-000001",
"messageId": "MID:localhost-122334455667-12232323232323-000001",
"deviceInfo": {
"serialNumber": "I320013590DEA0BE21F6958",
"platformId": "1234556666"
},
"info": {
"eventId": 1,
"time": "20200331T10:10:01+08:00",
"eventType": "",
"eventDescription": ""
}
}
Request message parameters
Message field name |
description |
Required |
deviceinfo |
|
|
serialNumber |
Device serial number |
Yes |
platformID |
platform ID |
No |
|
|
|
info |
|
|
eventId |
Event ID. For the same event, the ID is the same |
Yes |
time |
The time when the event occurred, in accordance with the ISO 8601 time format. Please refer to the ISO8601 standard for the combination of date and time. |
Yes |
eventType |
Event type. 0 - Ground lock abnormality, 1 - Device abnormality |
Yes |
eventDescription |
Event description: "TF card abnormality", "very low power", "low power", "overcurrent", "pull down", "pull back", "power failure", "motion timeout" |
Yes |
Response message style
{
"operator": "AbnormalEvent-Ack",
"sessionId": "SID:1234567890-000001",
"messageId": "MID:localhost-122334455667-12232323232323-000001",
"info": {
"eventId": 1
},
"result": {
"errorNo": 0,
"description": "ok"
}
}
Response message parameters
Message field name |
description |
Required |
eventId |
Event ID. For the same event, the ID is the same |
Yes |